package com.kaver.feign.rpc.eureka;

/**
 * @ClassName: EurekaAppInstance
 * @Description: eureka服务实例
 * @author kaver
 * @date 2019年5月29日 下午4:05:08
 * 
 */
public class EurekaAppInstance {

	private String ip;

	private String port;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String toHttpUri() {
		return String.format("http://%s:%s", ip, port);
	}
}
